package com.github.catvod.spider;

import android.content.Context;
import android.util.Base64;
import com.github.catvod.crawler.Spider;
import com.github.catvod.parser.۟۠ۢۤۦ;
import com.github.catvod.parser.۟۠ۢۦۡ;
import com.github.catvod.parser.۟ۤۥ۟ۢ;
import com.github.catvod.parser.ۣ۟ۧۡۧ;
import com.github.catvod.parser.ۡۡۧۡ;
import com.github.catvod.parser.ۡۧ;
import com.github.catvod.parser.ۣۤ۟ۨ;
import com.github.catvod.parser.ۤۡۧۡ;
import com.github.catvod.parser.ۨ۟ۡۡ;
import com.github.catvod.spider.merge.fP;
import com.github.catvod.spider.merge.ۣۣ۟۠ۤ;
import com.github.catvod.spider.merge.ۡۡ۟ۥ;
import com.github.catvod.spider.merge.ۣۥ۟ۢ;
import com.github.catvod.spider.merge.ۦ۟ۡ۟;
import java.util.HashMap;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONObject;

public class AI extends Spider {
  private static final short[] short = new short[] { 
      1162, 1196, 1210, 1197, 1266, 1182, 1208, 1210, 1201, 1195, 
      2533, 2556, 2551, 2508, 2531, 2559, 2546, 2538, 2508, 2534, 
      2529, 2559, 2626, 2651, 2640, 2667, 2628, 2648, 2645, 2637, 
      2667, 2642, 2630, 2651, 2649, 2308, 2333, 2326, 2349, 2321, 
      2333, 2332, 2310, 2327, 2332, 2310, 653, 660, 671, 676, 
      671, 658, 649, 670, 664, 655, 660, 649, 952, 929, 
      938, 913, 943, 941, 954, 929, 956, 2658, 2683, 2672, 
      2635, 2662, 2673, 2681, 2677, 2662, 2687, 2663, 1310, 1287, 
      1292, 1335, 1289, 1306, 1293, 1289, 1495, 1486, 1477, 1534, 
      1496, 1476, 1472, 1491, 2375, 2398, 2389, 2414, 2369, 2392, 
      2386, 2372, 2397, 2390, 2413, 2396, 2387, 2399, 2391, 2274, 
      2299, 2288, 2251, 2301, 2288, 1993, 1996, 2006, 2001, 2098, 
      2082, 2172, 2174, 2080, 2169, 2168, 2153, 2172, 2164, 2161, 
      2107, 2164, 2169, 2158, 2080, 548, 553, 544, 565, 527, 
      574, 561, 573, 565, 1428, 1421, 1414, 1469, 1409, 1422, 
      1411, 1425, 1425, 1714, 1682, 2386, 2405, 2406, 2405, 2418, 
      2405, 2418, 1431, 1492, 1418, 1484, 1409, 1472, 1485, 1481, 
      1484, 1485, 1498, 1269, 1261, 1253, 1259, 1262, 1261, 947, 
      948, 938, 2025, 2040, 2027, 2026, 2044, 1448, 1515, 1526, 
      1458, 943, 957, 2128, 2121, 2114, 2169, 2132, 2115, 2123, 
      2119, 2132, 2125, 2133, 2300, 2277, 2286, 2261, 2298, 2275, 
      2281, 1335, 1326, 1317, 1310, 1327, 1312, 1324, 1316, 1446, 
      1471, 1460, 1423, 1465, 1460, 2217, 2220, 2230, 2225, 1872, 
      1856, 1822, 1820, 1858, 1801, 1814, 1819, 1818, 1808, 1811, 
      1814, 1804, 1803, 1881, 1800, 1819, 1858 };
  
  private String V0 = "";
  
  private String h = "";
  
  private String j = "";
  
  public AI() {
    int j = ۣ۟ۧۡۧ.ۦۢ۟ۢ();
    int i = 1616;
    while (true) {
      String str;
      i ^= 0x661;
      switch (i) {
        case 14:
          i = 1678;
          break;
        case 49:
          if (j <= 0) {
            i = 1709;
            break;
          } 
        case 204:
          str = ۡۧ.ۧ۟ۡۢ("j8J6mS5tTpD33j3a15s5a1vjxgTwu");
          System.out.println(str);
          break;
        case 239:
          break;
      } 
    } 
  }
  
  private HashMap<String, String> h(String paramString) {
    String str = null;
    Object object = null;
    HashMap<Object, Object> hashMap = null;
    paramString = "ۢۧۥ";
    short[] arrayOfShort = null;
    while (true) {
      switch (ۡۧ.ۥۨۨۡ(paramString)) {
        case 1749824:
          hashMap = new HashMap<Object, Object>();
          paramString = "ۢۢۢ";
          break;
        case 1754625:
          arrayOfShort = short;
          paramString = "ۣۣۤ";
          break;
        case 1750660:
          str = ۟۠ۢۦۡ.۟ۡ۟۠(arrayOfShort, 0, 10, 1247);
          paramString = "ۣ۠۟";
          break;
        case 1747652:
          hashMap.put(str, object);
          paramString = "ۧۨۤ";
          break;
        case 1754659:
          return (HashMap)hashMap;
      } 
    } 
  }
  
  public String detailContent(List<String> paramList) {
    String str1;
    String str3 = ۡۡۧۡ.ۣ۠ۢۢ(short, 10, 12, 2451);
    String str4 = ۣۥ۟ۢ.ۤۡۦۡ(short, 22, 13, 2612);
    String str5 = ۦ۟ۡ۟.۟ۧ۟ۤ۟(short, 35, 11, 2418);
    String str7 = ۟۠ۢۦۡ.۟ۡ۟۠(short, 46, 12, 763);
    String str9 = ۟۠ۢۤۦ.ۥۡۢ(short, 58, 9, 974);
    String str8 = ۤۡۧۡ.ۣ۟ۡۨ۟(short, 67, 11, 2580);
    String str11 = ۨ۟ۡۡ.ۣۣ۟ۡ۠(short, 78, 8, 1384);
    String str6 = ۣۥ۟ۢ.ۤۡۦۡ(short, 86, 8, 1441);
    String str13 = ۟۠ۢۦۡ.۟ۡ۟۠(short, 94, 7, 2353);
    String str12 = ۡۡ۟ۥ.ۤۧۦ۟(short, 101, 8, 2354);
    String str10 = ۣۣ۟۠ۤ.ۡۥۤۤ(short, 109, 6, 2196);
    String str2 = ۨ۟ۡۡ.ۣۣ۟ۡ۠(short, 115, 4, 1957);
    try {
      Init.getPackage();
      JSONObject jSONObject2 = new JSONObject();
      this();
      JSONObject jSONObject3 = new JSONObject();
      this();
      StringBuilder stringBuilder2 = new StringBuilder();
      this();
      stringBuilder2.append(this.h);
      stringBuilder2.append(۟ۤۥ۟ۢ.ۣ۟ۢۨۨ(short, 119, 16, 2077));
      stringBuilder2.append(paramList.get(0));
      String str14 = stringBuilder2.toString();
      String str15 = fP.oq(str14, h(str14));
      JSONObject jSONObject1 = new JSONObject();
      this(str15);
      jSONObject1 = jSONObject1.getJSONArray(str2).getJSONObject(0);
      jSONObject2.put(str10, jSONObject1.getString(str10));
      jSONObject2.put(str12, jSONObject1.getString(str12));
      jSONObject2.put(str13, jSONObject1.getString(str13));
      jSONObject2.put(ۣۤ۟ۨ.ۦۣۤ(short, 135, 9, 592), jSONObject1.getString(ۣۥ۟ۢ.ۤۡۦۡ(short, 144, 9, 1506)));
      jSONObject2.put(str6, jSONObject1.getString(str6));
      jSONObject2.put(str11, jSONObject1.getString(str11));
      jSONObject2.put(str8, jSONObject1.getString(str8));
      jSONObject2.put(str9, jSONObject1.getString(str9));
      jSONObject2.put(str7, jSONObject1.getString(str7));
      StringBuilder stringBuilder1 = new StringBuilder();
      this();
      stringBuilder1.append("");
      stringBuilder1.append(jSONObject1.getString(str5));
      jSONObject2.put(str5, stringBuilder1.toString());
      jSONObject2.put(str4, jSONObject1.getString(str4));
      jSONObject2.put(str3, jSONObject1.getString(str3));
      JSONArray jSONArray = new JSONArray();
      this();
      jSONArray.put(jSONObject2);
      jSONObject3.put(str2, jSONArray);
    } finally {
      paramList = null;
    } 
    return str1;
  }
  
  public void init(Context paramContext, String paramString) {
    String str3 = null;
    short[] arrayOfShort = null;
    byte[] arrayOfByte = null;
    String str1 = null;
    String str4 = "ۧۥۥ";
    String[] arrayOfString = null;
    String str2 = paramString;
    paramString = str4;
    while (true) {
      switch (ۡۧ.ۥۨۨۡ(paramString)) {
        default:
          arrayOfString = str2.split(str1);
          paramString = "ۡ۠ۦ";
          continue;
        case 1747775:
          str1 = arrayOfString[1];
          paramString = "ۤۢۨ";
          continue;
        case 1749756:
          str2 = new String(arrayOfByte);
          paramString = "ۦۢ۠";
          continue;
        case 1751594:
          this.V0 = str1;
          paramString = "ۥۢ۠";
          continue;
        case 1754536:
          this.j = str3;
          paramString = "ۥۣۦ";
          continue;
        case 1754601:
          this.h = str2;
          paramString = "ۣ۠ۢ";
          continue;
        case 1746786:
          str1 = ۡۧ.۟ۦۤۧۡ(arrayOfShort, 153, 2, 1774);
          paramString = "۠ۨۧ";
          continue;
        case 1752547:
          str3 = arrayOfString[2];
          paramString = "ۧۤۥ";
          continue;
        case 1755553:
          str1 = str2.substring(1);
          paramString = "ۨۤ۠";
          continue;
        case 1754567:
          super.init(paramContext, str2);
          paramString = "ۨۦ۟";
          continue;
        case 1748647:
          str2 = arrayOfString[0];
          paramString = "ۧۦۨ";
          continue;
        case 1755492:
          arrayOfByte = Base64.decode(str1, 0);
          paramString = "ۢۥ۟";
          continue;
        case 1753508:
          arrayOfShort = short;
          paramString = "۟ۢۥ";
          continue;
        case 1752584:
          break;
      } 
      break;
    } 
  }
  
  public String playerContent(String paramString1, String paramString2, List<String> paramList) {
    // Byte code:
    //   0: new org/json/JSONObject
    //   3: astore_3
    //   4: aload_3
    //   5: invokespecial <init> : ()V
    //   8: aload_3
    //   9: getstatic com/github/catvod/spider/AI.short : [S
    //   12: sipush #155
    //   15: bipush #7
    //   17: sipush #2304
    //   20: invokestatic ۟ۧ۟ۤ۟ : ([SIII)Ljava/lang/String;
    //   23: aload_0
    //   24: getfield j : Ljava/lang/String;
    //   27: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   30: pop
    //   31: new org/json/JSONObject
    //   34: astore_1
    //   35: aload_1
    //   36: invokespecial <init> : ()V
    //   39: aload_2
    //   40: getstatic com/github/catvod/spider/AI.short : [S
    //   43: sipush #162
    //   46: iconst_5
    //   47: sipush #1465
    //   50: invokestatic ۦۡۦۤ : ([SIII)Ljava/lang/String;
    //   53: invokevirtual contains : (Ljava/lang/CharSequence;)Z
    //   56: istore #5
    //   58: getstatic com/github/catvod/spider/AI.short : [S
    //   61: sipush #167
    //   64: bipush #6
    //   66: sipush #1448
    //   69: invokestatic ۦۡۦۤ : ([SIII)Ljava/lang/String;
    //   72: astore #8
    //   74: getstatic com/github/catvod/spider/AI.short : [S
    //   77: sipush #173
    //   80: bipush #6
    //   82: sipush #1156
    //   85: invokestatic ۣ۠ۢۢ : ([SIII)Ljava/lang/String;
    //   88: astore #9
    //   90: getstatic com/github/catvod/spider/AI.short : [S
    //   93: sipush #179
    //   96: iconst_3
    //   97: sipush #966
    //   100: invokestatic ۣ۟ۡۨ۟ : ([SIII)Ljava/lang/String;
    //   103: astore #6
    //   105: getstatic com/github/catvod/spider/AI.short : [S
    //   108: sipush #182
    //   111: iconst_5
    //   112: sipush #1945
    //   115: invokestatic ۣۣ۟ۡ۠ : ([SIII)Ljava/lang/String;
    //   118: astore #7
    //   120: sipush #1616
    //   123: istore #4
    //   125: iload #4
    //   127: sipush #1633
    //   130: ixor
    //   131: istore #4
    //   133: iload #4
    //   135: lookupswitch default -> 176, 14 -> 179, 49 -> 187, 204 -> 200, 239 -> 498
    //   176: goto -> 125
    //   179: sipush #1678
    //   182: istore #4
    //   184: goto -> 125
    //   187: iload #5
    //   189: ifne -> 179
    //   192: sipush #1709
    //   195: istore #4
    //   197: goto -> 125
    //   200: aload_2
    //   201: getstatic com/github/catvod/spider/AI.short : [S
    //   204: sipush #187
    //   207: iconst_4
    //   208: sipush #1414
    //   211: invokestatic ۣۢۤۨ : ([SIII)Ljava/lang/String;
    //   214: invokevirtual contains : (Ljava/lang/CharSequence;)Z
    //   217: istore #5
    //   219: sipush #1740
    //   222: istore #4
    //   224: iload #4
    //   226: sipush #1757
    //   229: ixor
    //   230: istore #4
    //   232: iload #4
    //   234: lookupswitch default -> 276, 17 -> 279, 54 -> 292, 471 -> 351, 500 -> 300
    //   276: goto -> 224
    //   279: iload #5
    //   281: ifeq -> 292
    //   284: sipush #1833
    //   287: istore #4
    //   289: goto -> 224
    //   292: sipush #1802
    //   295: istore #4
    //   297: goto -> 224
    //   300: sipush #1864
    //   303: istore #4
    //   305: iload #4
    //   307: sipush #1881
    //   310: ixor
    //   311: istore #4
    //   313: iload #4
    //   315: lookupswitch default -> 340, 17 -> 343, 47483 -> 498
    //   340: goto -> 305
    //   343: ldc_w 48674
    //   346: istore #4
    //   348: goto -> 305
    //   351: aload_1
    //   352: getstatic com/github/catvod/spider/AI.short : [S
    //   355: sipush #191
    //   358: iconst_2
    //   359: sipush #965
    //   362: invokestatic ۣ۠ۢۢ : ([SIII)Ljava/lang/String;
    //   365: iconst_1
    //   366: invokevirtual put : (Ljava/lang/String;I)Lorg/json/JSONObject;
    //   369: pop
    //   370: aload_1
    //   371: aload #7
    //   373: iconst_0
    //   374: invokevirtual put : (Ljava/lang/String;I)Lorg/json/JSONObject;
    //   377: pop
    //   378: aload_1
    //   379: aload #6
    //   381: aload_2
    //   382: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   385: pop
    //   386: aload_0
    //   387: getfield j : Ljava/lang/String;
    //   390: aload #9
    //   392: invokevirtual contains : (Ljava/lang/CharSequence;)Z
    //   395: istore #5
    //   397: ldc_w 48767
    //   400: istore #4
    //   402: iload #4
    //   404: ldc_w 48784
    //   407: ixor
    //   408: istore #4
    //   410: iload #4
    //   412: lookupswitch default -> 456, 14 -> 459, 45 -> 491, 76 -> 480, 239 -> 467
    //   456: goto -> 402
    //   459: ldc_w 48829
    //   462: istore #4
    //   464: goto -> 402
    //   467: iload #5
    //   469: ifne -> 459
    //   472: ldc_w 48860
    //   475: istore #4
    //   477: goto -> 402
    //   480: aload_1
    //   481: aload #8
    //   483: aload_3
    //   484: invokevirtual toString : ()Ljava/lang/String;
    //   487: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   490: pop
    //   491: aload_1
    //   492: invokevirtual toString : ()Ljava/lang/String;
    //   495: astore_1
    //   496: aload_1
    //   497: areturn
    //   498: aload_1
    //   499: aload #7
    //   501: iconst_0
    //   502: invokevirtual put : (Ljava/lang/String;I)Lorg/json/JSONObject;
    //   505: pop
    //   506: aload_1
    //   507: aload #6
    //   509: aload_2
    //   510: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   513: pop
    //   514: aload_0
    //   515: getfield j : Ljava/lang/String;
    //   518: aload #9
    //   520: invokevirtual contains : (Ljava/lang/CharSequence;)Z
    //   523: istore #5
    //   525: ldc_w 48891
    //   528: istore #4
    //   530: iload #4
    //   532: ldc_w 48908
    //   535: ixor
    //   536: istore #4
    //   538: iload #4
    //   540: lookupswitch default -> 584, 22 -> 587, 53 -> 619, 503 -> 595, 32495 -> 608
    //   584: goto -> 530
    //   587: ldc_w 48953
    //   590: istore #4
    //   592: goto -> 530
    //   595: iload #5
    //   597: ifne -> 587
    //   600: ldc_w 49635
    //   603: istore #4
    //   605: goto -> 530
    //   608: aload_1
    //   609: aload #8
    //   611: aload_3
    //   612: invokevirtual toString : ()Ljava/lang/String;
    //   615: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   618: pop
    //   619: aload_1
    //   620: invokevirtual toString : ()Ljava/lang/String;
    //   623: astore_1
    //   624: goto -> 496
    //   627: astore_1
    //   628: ldc ''
    //   630: astore_1
    //   631: goto -> 496
    // Exception table:
    //   from	to	target	type
    //   0	58	627	finally
    //   200	219	627	finally
    //   351	397	627	finally
    //   480	491	627	finally
    //   491	496	627	finally
    //   498	525	627	finally
    //   608	619	627	finally
    //   619	624	627	finally
  }
  
  public String searchContent(String paramString, boolean paramBoolean) {
    String str2 = ۣ۟ۧۡۧ.ۣۥۥۨ(short, 193, 11, 2086);
    String str3 = ۣۥ۟ۢ.ۤۡۦۡ(short, 204, 7, 2186);
    String str5 = ۡۡۧۡ.ۣ۠ۢۢ(short, 211, 8, 1345);
    String str4 = ۟۠ۢۤۦ.ۥۡۢ(short, 219, 6, 1488);
    String str1 = ۡۡۧۡ.ۣ۠ۢۢ(short, 225, 4, 2245);
    try {
      JSONObject jSONObject1 = new JSONObject();
      this();
      StringBuilder stringBuilder = new StringBuilder();
      this();
      stringBuilder.append(this.h);
      stringBuilder.append(۟۠ۢۤۦ.ۥۡۢ(short, 229, 18, 1919));
      stringBuilder.append(paramString);
      paramString = stringBuilder.toString();
      System.out.println(paramString);
      String str = fP.oq(paramString, h(paramString));
      JSONArray jSONArray1 = new JSONArray();
      this();
      JSONObject jSONObject2 = new JSONObject();
      this(str);
      JSONArray jSONArray2 = jSONObject2.getJSONArray(str1);
      byte b = 0;
      while (true) {
        int j = jSONArray2.length();
        int i = 1616;
        while (true) {
          JSONObject jSONObject3;
          JSONObject jSONObject4;
          i ^= 0x661;
          switch (i) {
            case 14:
              i = 1678;
              break;
            case 49:
              if (b < j) {
                i = 1709;
                break;
              } 
            case 204:
              jSONObject4 = jSONArray2.getJSONObject(b);
              jSONObject3 = new JSONObject();
              this();
              jSONObject3.put(str4, jSONObject4.getString(str4));
              jSONObject3.put(str5, jSONObject4.getString(str5));
              jSONObject3.put(str3, jSONObject4.getString(str3));
              jSONObject3.put(str2, jSONObject4.getString(str2));
              jSONArray1.put(jSONObject3);
              i = 1740;
              while (true) {
                i ^= 0x6DD;
                switch (i) {
                  case 17:
                    i = 1771;
                    break;
                  case 54:
                    b++;
                    break;
                } 
              } 
              break;
            case 239:
              return jSONObject1.toString();
          } 
        } 
        break;
      } 
    } finally {
      paramString = null;
    } 
    return paramString;
  }
}


/* Location:              /Users/hetaiyi/Desktop/my/tech/java/study/aa/temp/temp.jar!/com/github/catvod/spider/AI.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */